home *** CD-ROM | disk | FTP | other *** search
/ Developer Source 18 / Developer Source Volume 18 (I-MODE Publications, Inc.)(2000).iso / visua / 831 / swanf105.gif < prev    next >
Graphics Interchange Format  |  1998-10-01  |  18KB  |  621x271  |  4-bit (4 colors)
Labels: text | screenshot | font | number | document | black and white | parallel
OCR: Method Description void addNotify This method attaches a component to its native operating system peer class. Applications and applets normally never call this method: boolean isModol Returns true if the dialog window is modal, and as such, captures the input focus until the dialog window is closed. If this method returns false, the dialog window is modeless and does not capture the input focus. String getTitle Returns the current title string displayed in the dialog window. If no title is set during the Dialog object's construction, this method returns null - it does not return a zero- length string void setTitle(String title) Changes the dialog window's title to the specified String. Calling this method forces an immediate update of the dialog window. boolean isResizable Returns true if the dialog window can be resized. Returns false if the dialog window is vvvv fixed in size. void setResizable Prevents the dialog window from being resized if the boolean argument is false; or allows (boolean resizable) the window to be resized if the argument is true. A diolog window is sizable by default. To create a fixed-size dialog window, you must call setResizable with its argument set to false. Figure 5: The methods declared in the Dialog class: